export default function($rootScope,$state){
    $rootScope.host="http://www.hoep.tv:81";
    console.log(1);
    $rootScope.$on("$stateChangeSuccess",function(evt,toState,fromState,fromParams){
        console.log(toState);
    })
}